import Mock from 'mockjs'
import homeapi from '@/mockServerData/home'
import user from '@/mockServerData/user'
import permision from '@/mockServerData/permision'
Mock.mock('/api/home/getData',homeapi.getStatisticalData)

Mock.mock('/api/user/add','post',user.createUser)
Mock.mock(/api\/user\/getUser/,user.getUserList)
Mock.mock('/api/user/update','post',user.updateUser)
Mock.mock('/api/user/del','post',user.deleteUser)
Mock.mock(/api\/permission\/getmenu/,'post',permision.getMenu)